import axios from 'axios'

export default class Prescription {
    static prescription = null

    static getInstance(){
        if(this.prescription == null){
            this.prescription = new Prescription()
        }
        return this.prescription
    }
    list(params){
        return axios.get(`http://localhost/prescription/pre/list`,{
            params: params
        })
    }
    
}